 

import { IOption } from '@/components/form/types'
import { IParam } from '../../workflow/definition/components/types'
import { IEnvironmentNameOption } from '../components/node/types'

export type { ITaskData, INodeData } from '../components/node/types'
export type { ISingleSaveReq } from '@/service/modules/task-definition/types'

interface IRecord {
  processDefinitionCode: number
  taskCode: number
  taskName: string
}

interface IStartState {
  projectCode: number
  workerGroups: Array<IOption>
  alertGroups: Array<IOption>
  environmentList: Array<IEnvironmentNameOption>
  startParamsList: Array<IParam>
}

export { IRecord, IStartState }
